package com.ztgf.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * author: chenyu.wang
 * date: 2020-07-10 15:15
 * Description: 邮件发布管理表对象
 */
@Data
@TableName("sys_email_manage")
@ApiModel(value = "邮件发布管理表对象", description = "邮件发布管理表对象")
public class SysEmailManageDTO extends BaseDTO implements Serializable {


    @ApiModelProperty(value = "选择发送对象;0全部用户，1全部店铺，2全部旗舰店，3全部专卖店，4全部专营店，5全部买家，6筛选")
    private Integer sendObject;
    @ApiModelProperty(value = "筛选发送对象店铺ids,以逗号隔开")
    private String filterSendObject;
    @ApiModelProperty(value = "编号")
    private String number;
    @ApiModelProperty(value = "邮件标题")
    private String mailTitle;
    @ApiModelProperty(value = "邮件内容")
    private String mailContent;
    @ApiModelProperty(value = "系统发布表id")
    private Long sysNoticeId;
    @ApiModelProperty(value = "接收人：公司名/店铺名，以逗号间隔")
    private String name;
    @ApiModelProperty(value = "接收人邮箱号：以逗号间隔")
    private String email;
    @ApiModelProperty(value = "状态 0发送成功，1发送失败")
    private Integer status;
}
